function onYouTubeIframeAPIReady(){jQuery_T4NT("body").trigger("youTubeReady"),geckoShopify.ProductVideo().loadVideos(geckoShopify.ProductVideo().hosts.youtube)}!function($){"use strict";var body=$("body"),nt_js_cart=$(".nt_js_cart"),_rtl=body.hasClass("rtl_true"),window_w=$(window).width(),small767=window_w<768&&$(window).height()<768,sp_notices="#sp_notices_wrapper",$ld=$("#ld_cl_bar"),$ld_cart=$(".ld_cart_bar"),$ntSearch=$("#nt_search_canvas"),yes_hover=Modernizr.hovermq,ntla_ck=!0,ck_pr_is_ungroup=!0,productMediaTypeVideo="[data-pr-md-tp-video]",productMediaTypeModel="[data-pr-md-tp-model]",videos={},modelJsonSections={},models={},xrButtons={},pr_incoming_mess=nt_settings.pr_incoming_mess,use_notify_me=nt_settings.use_notify_me,save_js=nt_settings.save_js,save2_js=nt_settings.save2_js,save3_js=nt_settings.save3_js,enableHistoryState=nt_settings.enableHistoryState,use_vimg=nt_settings.use_vimg,use_clicking_vimg=nt_settings.use_clicking_vimg,search_prefix=nt_settings.search_prefix,PleaseChoosePrOptions=nt_settings.PleaseChoosePrOptions,edit_item=nt_settings.edit_item,show_confetti=nt_settings.show_confetti,cartUrl=t_cart_url,cartAddUrl=t_cartadd_url+".js",cartChangeUrl=t_cartchange_url+".js",str_qv=".type_quickview_1 .popup_qv_t4s .mfp-content",qvscrollTop=0,geckoTheme={popupAnimation:"mfp-move-horizontal",ajaxSelector:"#cat_shopify a:not(.nav-expand-link),.cat-shop #cat_shopify a.nav-expand-link, #nt_sortby .wrap_sortby a, .nt_ajaxFilter a, .paginate_ajax a, .nav_filters a, .widget_product_tag_cloud a,a.clear_filter",scrollSelector:'.shopify-error a[href^="#"]',nt_btn_load_more:".load-on-scroll:not(.btn--loader-active)",url_currency:"https://api.teathemes.net/currency",money_format:"${{amount}}"},ntv_txt_intock="In stock",ntv_txt_preoder="Pre order",ntv_txt_soldout="Sold out",ntv_txt_oneleft="One Left",ntv_txt_lowstock="Low Stock",GrnameValue;function UpdateStockVarant(t,e,a,i){i?e<=0&&a?t.html(''+ntv_txt_preoder+""):1==e?t.html(''+ntv_txt_oneleft+""):2==e?t.html(''+ntv_txt_lowstock+""):t.html(''+ntv_txt_intock+""):t.html(''+ntv_txt_soldout+"")}function updateGroupVariant(t,e,a,i,o,n){var s,r,c;use_vimg&&"#cart-form_qs"!=t&&void 0!==n&&(ck_pr_is_ungroup=!1,a=$(t+' [data-opname="'+(e=n)+'"] .is-selected').data("value"),GrnameValue!=a&&(GrnameValue=a,s='[data-featured-product-se][data-id="'+i+'"] .p-thumb',"_qv"==i&&(s+="_qv"),$(s+' [data-grname="not4"]').length!=$(s+" [data-grname]").length&&0!=$(s+' [data-grname="'+e+'"]').length&&($(s+" .js-sl-item,"+(r='[data-featured-product-se][data-id="'+i+'"] .p-nav')+" .js-sl-item").addClass("is_varhide"),$(s+' [data-grname="opnt4"], '+s+' [data-grname="'+e+'"][data-grpvl="'+a+'"],'+r+' [data-grname="opnt4"],'+r+' [data-grname="'+e+'"][data-grpvl="'+a+'"]').removeClass("is_varhide"),"#cart-form_ppr"==t&&0<$(".p-thumb.isotope_ok").length?($(".last_visible").removeClass("last_visible"),$(".js-sl-item:visible:last").addClass("last_visible"),$('[data-featured-product-se][data-id="'+i+'"] .p-thumb[class*="t4s_media_size_"]').removeClass(function(t,e){return(e.match(/(^|\s)t4s_media_size_\S+/g)||[]).join(" ")}),(c=$(".js-sl-item:not(.is_varhide)").length)<3?c=1:3==c||5==c||(c=6),$('[data-featured-product-se][data-id="'+i+'"] .p-thumb').addClass("t4s_media_size_"+c),$(".js-sl-item[class*='t4s-i-']").removeClass(function(t,e){return(e.match(/(^|\s)t4s-i-\S+/g)||[]).join(" ")}),$(".js-sl-item:not(.is_varhide)").each(function(t){$(this).addClass("t4s-i-"+(t+1))}),$(".p-thumb.isotope_ok").isotope()):(i=JSON.parse($(s+".flickityt4s-enabled").attr("data-flickityt4s-js")||"{}"),c=JSON.parse($(r+".flickityt4s-enabled").attr("data-flickityjs")||"{}"),$(s+".flickityt4s-enabled").flickityt4s("destroy").flickityt4s(i),$(r+".flickityt4s-enabled").flickityt4s("destroy").flickityt4s(c).removeClass("p-nav-ready"),$(str_qv).scrollTop(qvscrollTop),setTimeout(function(){var t=$('[data-mdid="'+o+'"]').index();t<0&&(t=0),$(s+".flickityt4s-enabled").flickityt4s("select",t,!1,!0),$(r).addClass("p-nav-ready")},50)))))}geckoShopify.Ntproduct_switch=function(t,a,e,v,k,b,w,S){ntla_ck=nt_settings.ntla_ck,ck_pr_is_ungroup=!0;var C,i,j=$('.p-thumb [data-grname]:not([data-grname="not4"])').attr("data-grname"),x=e.variants,T=$(t),I=e.ck_so_un,D=e.ntsoldout,M=e.remove_soldout,q=e.options.length,o=e.size_avai,z=e.id,n=[],O=[],A=[],P=0;$(b+"1 .nt-swatch").each(function(t){O.push($(this).data("escape")+"")}),$(b+"2 .nt-swatch").each(function(t){A.push($(this).data("escape")+"")}),I&&-1 .nt-swatch:not(.is-selected):not(.nt_unavailable)",function(t){t.preventDefault(),t.stopImmediatePropagation();var e=$(this),a=e.data("value"),i=e.closest(".swatch"),o=i.data("opname"),n=(e.parent().data("id"),$(k)),s=P?n.val():19041994,t=void 0!==t.originalEvent;if(e.parent().find(".is-selected").removeClass("is-selected"),e.parent().find(".is-selected-nt").removeClass("is-selected-nt"),e.addClass("is-selected"),i.find(".nt_name_current").addClass("user_choose_js").html(e.data("escape")).css("color",""),$(".nt_lt_fake.opended").removeClass("opended"),!($(w+" .variations .nt-swatch.is-selected").lengtht.price?(d=""+geckoShopify.formatMoney(t.compare_at_price)+" "+V+"",d+=' ',M.html(d+=''),d=100*(t.compare_at_price-t.price)/t.compare_at_price,O.find(">span").html(p.replace("[sale]",Math.round(d))),O.show(),"1"==r?u.html(save2_js.replace("[sale]",Math.round(d))):"2"==r&&(d=t.compare_at_price-t.price,d=geckoShopify.formatMoney(d),u.html(save3_js.replace("[sale]",d)))):(M.html(V),O.hide()),t.unit_price&&(q.html(geckoShopify.formatMoney(t.unit_price)),z.html(getBaseUnit(t))),body.trigger("refresh_currency"),t.sku?(b.css("display","none"),k.text(t.sku).css("display","inline-block")):(k.css("display","none"),b.css("display","inline-block")),t.barcode?(S.css("display","none"),w.text(t.barcode).css("display","inline-block")):(w.css("display","none"),S.css("display","inline-block")),t.featured_media&&!ntla_ck&&(w=t.featured_media.id,1==(S=$('.p-thumb [data-mdid="'+w+'"]').first()).length&&"#cart-form_ppr"==e&&0<$(".p-thumb.isotope_ok").length?ck_pr_is_ungroup&&updateImageVariantPositionIsotope(S):updateImageVariantPositionSlider(e,w,c,s)),(c||ntla_ck)&&(ntla_ck=!1),_&&"#cart-form_ppr"==e&&_updateHistoryState(t)),$(document).trigger("variant:change",t)}function getCurrentOptions(t,e,a){}function getVariantFromSize(t,e,a,i,o,n){return(0==t?$.grep(a,function(t,e){return 0==t.available}):2==t&e?$.grep(a,function(t,e){return t.option1==i&&t.option2==o&&t.available}):e?$.grep(a,function(t,e){return t.option1==i&&t.available}):2==t?$.grep(a,function(t,e){return t.option1==i&&t.option2==o}):$.grep(a,function(t,e){return t.option1==i}))||"nathan"}function getVariantFromOptions(t,a,i,o){return $.grep(t,function(t,e){return t.option1==a&&t.option2==i&&t.option3==o})[0]||"nathan"}function getBaseUnit(t){return 1===t.unit_price_measurement.reference_value?t.unit_price_measurement.reference_unit:t.unit_price_measurement.reference_value+t.unit_price_measurement.reference_unit}function _updateHistoryState(t){history.replaceState&&t&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+"?variant="+t.id,window.history.replaceState({path:t},"",t))}function StoreAvailability(i,o){var n=i[0],s="hide";return{updateContent:function(){var e=$(".store_availabilities_modal.act_opened").length,t=n.dataset.baseUrl+"variants/"+o+"/?section_id=store-availability",a="true"===n.dataset.hasOnlyDefaultVariant;i.find(".push_side.act_current").trigger("click"),n.style.opacity=.5,fetch(t).then(function(t){return t.text()}).then(function(t){""!==t.trim()&&0!=$(t).find(".store-availability-container").length&&(i.slideUp(10),n.innerHTML=t,n.innerHTML=n.firstElementChild.innerHTML,n.style.opacity=1,i.slideDown(350),i.find("[data-store-availability-modal-product-title]").text(n.dataset.productTitle),a&&i.find("[data-store-availability-modal-variant-title]").addClass(s),0"+geckoShopify.formatMoney(s)+" "+geckoShopify.formatMoney(e)+""):o.html(geckoShopify.formatMoney(e)),body.trigger("refresh_currency"),t.inventory_quantity<=0&&t.available&&null!=t.inventory_management?($(".sticky_atc_js .txt_add").hide(),$(".sticky_atc_js .txt_pre").show()):($(".sticky_atc_js .txt_pre").hide(),$(".sticky_atc_js .txt_add").show())}function subtt_price_group(t){var e=t.find(".js_item_group.item_group_true"),a=t.find(".grp_subtt_js"),t=t.find(".js_add_group"),i=0,o=0;e.each(function(){var t=$(this),e=t.find(".qty_pr_js").val(),a=t.find(".js_price_group"),t=a.attr("data-price"),a=a.attr("data-ogprice")||t;i+=e*t,o+=e*a}),i"+geckoShopify.formatMoney(o)+" "+geckoShopify.formatMoney(i)+""):a.html(geckoShopify.formatMoney(i)),0"+geckoShopify.formatMoney(o)+" "+geckoShopify.formatMoney(n)+""):a.find(".js_price_group").attr("data-ogprice",o).attr("data-price",n).html(geckoShopify.formatMoney(n)),r.attr("max",s),s"+geckoShopify.formatMoney(i)+" "+geckoShopify.formatMoney(e)+""):o.html(geckoShopify.formatMoney(e)),body.trigger("refresh_currency")}0!=$(".js_fbt_ck").length&&(r=$(".js_fpt_clbtn"),o=$(".kl_fbt_tt_price"),$(".kl_fbt_li>label").click(function(t){clearTimeout(s);var e=$(this).closest(".kl_fbt_li"),a=$(e.data("sl")),i=e.find(".js_fbt_input"),o=e.find(".js_fbt_sl"),n=e.find(".js_grp_qty");s=setTimeout(function(){e.find(".js_fbt_ck").is(":checked")?(e.addClass("kl_fbt_checked"),a.fadeIn(300),d(o,i,!0),r.fadeTo(0,0).fadeTo(300,1),o.prop("disabled",!1),i.prop("disabled",!1),n.prop("disabled",!1)):(e.removeClass("kl_fbt_checked"),a.fadeOut(300),d(o,i,!1),o.prop("disabled",!0),i.prop("disabled",!0),n.prop("disabled",!0),r.fadeOut(300,function(){r.fadeIn(300)}))},100)}),$(".js_fbt_sl").on("focus",function(){var t=$(this).find("option:checked");c=t.data("ogprice"),l=t.data("price")}).on("change",function(t){var e=$(this),a=e.closest(".kl_fbt_li"),i=a.find(".kl_fbt_price"),o=e.find("option:checked"),n=o.data("ogprice"),s=o.data("price"),r=o.data("img"),o=$(a.data("sl")),a="115x";e.blur(),o.find("img").attr("src",r.replace("1x1",a)).attr("srcset",r.replace("1x1",a)+" 1x,"+r.replace("1x1",a+"@2x")+" 2x");r=c-n,a=l-s;s"+geckoShopify.formatMoney(n)+" "+geckoShopify.formatMoney(s)+""):i.html(geckoShopify.formatMoney(s)),p(r,a,!1)}))},geckoShopify.ajaxchangeItem=function(t){nt_js_cart=t||nt_js_cart,body.hasClass("min_cqty_1")&&nt_js_cart.on("keyup",".qty_cart_js",function(t){var e=$(this),a=e.data("val"),i=e.val()||1,o=e.attr("min")||0;parseInt(i)parseInt(s)){if(e.val(n=s),nt_settings.disOnlyStock)return;e=$("#js_we_stcl").text()||"Not enough items available. Only [max] left.";return geckoShopify.CreatNotices(e.replace("[max]",s)),!1}i.hasClass("frm_cart_ajax_false")||(nt_js_cart.addClass("ld_nt_cl"),a.find(".ld_cart_bar").addClass("on_star"),changeItem(o,n,a))}),nt_js_cart.on("click",".js_cart_rem",function(t){var e;$(this).closest("form.nt_js_cart").hasClass("frm_cart_ajax_false")||(t.preventDefault(),e=$(this).data("id"),t=$(this).closest(".js_cart_item"),nt_js_cart.addClass("ld_nt_cl"),t.find(".ld_cart_bar").addClass("on_star"),changeItem(e,0,t))}),nt_js_cart.on("change",'textarea[name="note"]',function(){var t=$(this).val();geckoShopify.updateCartNote(t)}),geckoShopify.cookiesEnabled()||$(".cookie-message").show()};var Sections_nt="cart_js";function addItem(t,e){fetch(cartAddUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:t,sections:Sections_nt})}).then(function(t){return t.json()}).then(function(t){if(t.status&&200!==t.status){var e=new Error(t.description);throw e.isFromServer=!0,e}e=null==t.items?19041994:t.items[0].product_id,geckoShopify.onCartUpdate(1,1,t.sections.cart_js,e),miniCartUpsell(e),"19041994"!=e&&(e=$('.nt_stock_page[data-prid="'+e+'"]'),t=t.quantity,geckoShopify.progressbarUpdateATC(e,t)),body.trigger("CartUpdateSuccess")}).catch(function(t){$(".js_addtc.loading").removeClass("loading"),geckoShopify.onError2(t)})}function serializet4(t){var a=[];return Array.prototype.slice.call(t.elements).forEach(function(e){!e.name||e.disabled||-1<["file","reset","submit","button"].indexOf(e.type)||("select-multiple"!==e.type?-1<["checkbox","radio"].indexOf(e.type)&&!e.checked||a.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value)):Array.prototype.slice.call(e.options).forEach(function(t){t.selected&&a.push(encodeURIComponent(e.name)+"="+encodeURIComponent(t.value))}))}),a.join("&")}var _cart_upsell=$("[data-cart-upsell-js]"),_cart_upsell_length=_cart_upsell.length;function miniCartUpsell(t){var e,a;19041994==t&&(t=_cart_upsell.data("id")),0!=_cart_upsell_length&&0!=t.length&&(e=_cart_upsell.data("limit"),a=_cart_upsell.data("baseurl"),fetch(a+"?section_id=mini_cart_upsell&product_id="+t+"&limit="+e).then(function(t){return t.text()}).then(function(t){var e,t=$(t).html();""!==t.trim()&&(_cart_upsell.html(t),body.trigger("refresh_currency"),0!=(e=_cart_upsell.find("[data-flickityt4s-js]")).length&&(geckoShopify.refresh_flickity(e),setTimeout(function(){e.flickityt4s("reloadCells")},250),setTimeout(function(){e.flickityt4s("reloadCells")},500)))}))}function addItemFrom(e,t){var a,i=$(".cart_ac_edit.clicked_ed_js");function o(t){fetch(cartAddUrl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},body:serializet4(t[0])+"§ions="+Sections_nt}).then(function(t){return t.json()}).then(function(t){if(t.status&&200!==t.status){var e=new Error(t.description);throw e.isFromServer=!0,e}var e=19041994;null!=t.product_id?e=t.product_id:null!=t.items&&(e=t.items[0].product_id),geckoShopify.onCartUpdate(1,1,t.sections.cart_js,e),miniCartUpsell(e),"19041994"!=e&&(e=$('.nt_stock_page[data-prid="'+e+'"]'),t=t.quantity,geckoShopify.progressbarUpdateATC(e,t)),body.trigger("CartUpdateSuccess")}).catch(function(t){$("button[type=submit].loading").removeClass("loading"),geckoShopify.onError2(t)})}0span").removeClass("less_10 more_10").addClass(i).css("width",t+"%")):(a.find(".mn_thres_js").html(e),$(".cart_bar_w").slideUp(200),ck_canvas&&show_confetti&&(geckoShopify.CanvasConfetti().restart(),setTimeout(function(){geckoShopify.CanvasConfetti().stop()},3500)))}geckoShopify.CanvasConfetti=function(t){window.innerWidth<988&&(mp=75);var a={colorOptions:["DodgerBlue","OliveDrab","Gold","pink","SlateBlue","lightblue","Violet","PaleGreen","SteelBlue","SandyBrown","Chocolate","Crimson"],colorIndex:0,colorIncrementer:0,colorThreshold:10,getColor:function(){return 10<=this.colorIncrementer&&(this.colorIncrementer=0,this.colorIndex++,this.colorIndex>=this.colorOptions.length&&(this.colorIndex=0)),this.colorIncrementer++,this.colorOptions[this.colorIndex]}};function i(t){var e,a;this.x=Math.random()*W,this.y=Math.random()*H-H,this.r=(e=10,a=30,Math.floor(Math.random()*(a-e+1)+e)),this.d=Math.random()*mp+10,this.color=t,this.tilt=Math.floor(10*Math.random())-10,this.tiltAngleIncremental=.07*Math.random()+.05,this.tiltAngle=0,this.draw=function(){return ctx.beginPath(),ctx.lineWidth=this.r/2,ctx.strokeStyle=this.color,ctx.moveTo(this.x+this.tilt+this.r/4,this.y),ctx.lineTo(this.x+this.tilt,this.y+this.tilt+this.r/4),ctx.stroke()}}function e(){canvas.style.display="block",animationComplete=!(particles=[]);for(var t=0;tW+20||t.x<-20||t.y>H)&&confettiActive&&(0